package org.example.qo;

import lombok.*;

/**
 * @author 李新雨的项目86176
 * @version 1.0
 * @date 2024-11-30 20:30
 */
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
public class QueryObject {
    private int currentPage=1;//默认数据
    private int pageSize=3;
    private int getStart(){//
        return (this.currentPage-1)*pageSize;
    }
}
